package com.growthsee.framework.config.wechat;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;

@Data
@Configuration
@ConfigurationProperties(prefix = "wx")
public class WechatMpProperties {

	/**
	 * 设置微信公众号的appid
	 */

	private String	appId;

	/**
	 * 设置微信公众号的app secret
	 */

	private String	secret;
	/**
	 * 设置微信公众号的app 设置密码
	 */
	private String password;


	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this, ToStringStyle.MULTI_LINE_STYLE);
	}
}
